{% extends "badmin/squadron/base.html" %}

{% block title %}{{ block.super }} &gt; List{% endblock %}

{% block body_class %}{{ block.super }} list{% endblock %}

{% block heading %}Sqadrons{% endblock %}

{% block content %}
{% if instance_list %}
<table border="0">
	<tr>
		<th>Sqn Number</th>
	</tr>
	{% for instance in instance_list %}
	<tr>
		{# <td><a href="{{ instance.view_url }}">{{ instance.number }}</a></td> #}
		<td><a href="{{ instance.view_url }}">{{ instance.number }}</a></td>
	</tr>
	{% endfor %}
</table>
{% else %}
<p>No squadrons</p>
{% endif %}
{% endblock %}